(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[84,77],{20:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c}));var o=n(38);const r=t=>!Object(o.a)(t)&&t instanceof Object&&t.constructor===Object;function c(t,e){return r(t)&&e in t}},286:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){return o=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};Object.create,Object.create},287:function(t,e,n){"use strict";function o(t){return t.toLowerCase()}n.d(e,"a",(function(){return s}));var r=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],c=/[^A-Z0-9]+/gi;function s(t,e){void 0===e&&(e={});for(var n=e.splitRegexp,s=void 0===n?r:n,l=e.stripRegexp,i=void 0===l?c:l,u=e.transform,d=void 0===u?o:u,f=e.delimiter,p=void 0===f?" ":f,b=a(a(t,s,"$1\0$2"),i,"\0"),m=0,v=b.length;"\0"===b.charAt(m);)m++;for(;"\0"===b.charAt(v-1);)v--;return b.slice(m,v).split("\0").map(d).join(p)}function a(t,e,n){return e instanceof RegExp?t.replace(e,n):e.reduce((function(t,e){return t.replace(e,n)}),t)}},29:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));const o=t=>"string"==typeof t},290:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n(286),r=n(287);function c(t,e){return void 0===e&&(e={}),function(t,e){return void 0===e&&(e={}),Object(r.a)(t,Object(o.a)({delimiter:"."},e))}(t,Object(o.a)({delimiter:"-"},e))}},291:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(4),r=n.n(o),c=n(20),s=n(29),a=n(290),l=n(132);function i(t={}){const e={};return Object(l.getCSSRules)(t,{selector:""}).forEach((t=>{e[t.key]=t.value})),e}function u(t,e){return t&&e?`has-${Object(a.a)(e)}-${t}`:""}const d=t=>{const e=(t=>{const e=Object(c.a)(t)?t:{style:{}};let n=e.style;return Object(s.a)(n)&&(n=JSON.parse(n)||{}),Object(c.a)(n)||(n={}),{...e,style:n}})(t),n=function(t){var e,n,o,s,a,l,d;const{backgroundColor:f,textColor:p,gradient:b,style:m}=t,v=u("background-color",f),y=u("color",p),O=function(t){if(t)return`has-${t}-gradient-background`}(b),g=O||(null==m||null===(e=m.color)||void 0===e?void 0:e.gradient);return{className:r()(y,O,{[v]:!g&&!!v,"has-text-color":p||(null==m||null===(n=m.color)||void 0===n?void 0:n.text),"has-background":f||(null==m||null===(o=m.color)||void 0===o?void 0:o.background)||b||(null==m||null===(s=m.color)||void 0===s?void 0:s.gradient),"has-link-color":Object(c.a)(null==m||null===(a=m.elements)||void 0===a?void 0:a.link)?null==m||null===(l=m.elements)||void 0===l||null===(d=l.link)||void 0===d?void 0:d.color:void 0}),style:i({color:(null==m?void 0:m.color)||{}})}}(e),o=function(t){var e;const n=(null===(e=t.style)||void 0===e?void 0:e.border)||{};return{className:function(t){var e;const{borderColor:n,style:o}=t,c=n?u("border-color",n):"";return r()({"has-border-color":!!n||!(null==o||null===(e=o.border)||void 0===e||!e.color),[c]:!!c})}(t),style:i({border:n})}}(e),a=function(t){var e;return{className:void 0,style:i({spacing:(null===(e=t.style)||void 0===e?void 0:e.spacing)||{}})}}(e),l=(t=>{const e=Object(c.a)(t.style.typography)?t.style.typography:{},n=Object(s.a)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:n,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:e.fontSize,fontStyle:e.fontStyle,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,textDecoration:e.textDecoration,textTransform:e.textTransform}}})(e);return{className:r()(l.className,n.className,o.className,a.className),style:{...l.style,...n.style,...o.style,...a.style}}}},350:function(t,e,n){"use strict";var o=n(0),r=n(134);const c=t=>t.replace(/<\/?[a-z][^>]*?>/gi,""),s=(t,e)=>t.replace(/[\s|\.\,]+$/i,"")+e;var a=n(137);e.a=({source:t,maxLength:e=15,countType:n="words",className:l="",style:i={}})=>{const u=Object(o.useMemo)((()=>((t,e=15,n="words")=>{const o=Object(r.autop)(t);if(Object(a.count)(o,n)<=e)return o;const l=(t=>{const e=t.indexOf("</p>");return-1===e?t:t.substr(0,e+4)})(o);return Object(a.count)(l,n)<=e?l:"words"===n?((t,e,n="&hellip;",o=!0)=>{const a=c(t),l=a.split(" ").splice(0,e).join(" ");return l===a?o?Object(r.autop)(a):a:o?Object(r.autop)(s(l,n)):s(l,n)})(l,e):((t,e,n=!0,o="&hellip;",a=!0)=>{const l=c(t),i=l.slice(0,e);if(i===l)return a?Object(r.autop)(l):l;if(n)return Object(r.autop)(s(i,o));const u=i.match(/([\s]+)/g),d=u?u.length:0,f=l.slice(0,e+d);return a?Object(r.autop)(s(f,o)):s(f,o)})(l,e,"characters_including_spaces"===n)})(t,e,n)),[t,e,n]);return Object(o.createElement)(o.RawHTML,{style:i,className:l},u)}},38:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));const o=t=>null===t},428:function(t,e){},468:function(t,e,n){"use strict";n.r(e);var o=n(0),r=n(4),c=n.n(r),s=n(350),a=n(30),l=n(60),i=n(291),u=n(145);n(428),e.default=Object(u.withProductDataContext)((t=>{const{className:e}=t,{parentClassName:n}=Object(l.useInnerBlockLayoutContext)(),{product:r}=Object(l.useProductDataContext)(),u=Object(i.a)(t);if(!r)return Object(o.createElement)("div",{className:c()(e,"wc-block-components-product-summary",{[`${n}__product-summary`]:n})});const d=r.short_description?r.short_description:r.description;return d?Object(o.createElement)(s.a,{className:c()(e,u.className,"wc-block-components-product-summary",{[`${n}__product-summary`]:n}),source:d,maxLength:150,countType:a.p.wordCountType||"words",style:u.style}):null}))}}]);